package com.mptest.demos.mapper;

import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mptest.demos.model.UserInfo;
import com.mptest.demos.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserInfoMapper extends BaseMapper<UserInfo> {

    void updateAge(@Param("ew") LambdaUpdateWrapper<UserInfo> wrapper, @Param("age") int age);
}
